package com.registration.mapper;

import com.registration.bean.PCUserBean;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PCUserMapper {
    PCUserBean login(String username);
    Integer lastLoginTime(String username);


    List<PCUserBean> getPCUserList(PCUserBean pcUserBean);

    int insert(PCUserBean pcUserBean);

    int delete(Integer pc_user_id);

    PCUserBean selectPCUserById(Integer pc_user_id);

    int updatePCUser(PCUserBean pcUserBean);

    List<PCUserBean> adminInfo();

    List<PCUserBean> getPCUserListByUsername(String  username);
}
